package com.lp.biz.train.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.io.Serial;
import lombok.Data;

/**
 * biz_train_chapter实体类
 * 章节
 * @program: backend
 * @author Ke.Song
 * @since 2024-05-02 10:45:20
 */
@Data
@TableName("biz_train_chapter")
public class BizTrainChapter implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 章节名
     */
    @TableField("`name`")
    private String name;

    /**
     * 训练营id
     */
    private Integer bizTrainId;

    /**
     * 章节视频
     */
    private String videoUrl;

    /**
     * 排列方向, 1: 横排， 2：竖排
     */
    private Integer arrange;

    /**
     * 播放量
     */
    private Integer playbackNum;

    /**
     * 时长
     */
    private String duration;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 是否展示
     */
    private Integer isDisplay;

    /**
     * 是否删除，0：否，1：是
     */
    private Integer isDeleted;

    private String content;


}
